<template>
  <div>
    <el-tabs v-model="activePlanTab">
      <el-tab-pane label="填报记录" name="recordlist">
        <PlanRecord :planId="props.planId"></PlanRecord>
      </el-tab-pane>
      <el-tab-pane label="填报统计" name="tongji">
        <PlanTongji :planId="props.planId"></PlanTongji>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup name="plantab">
import {reactive, ref, onMounted, defineProps, defineEmits, nextTick, defineAsyncComponent} from "vue";
const PlanRecord = defineAsyncComponent(() => import('/@/views/kucun/plan/planrecord.vue'));
const PlanTongji = defineAsyncComponent(() => import('/@/views/kucun/plan/plantongji.vue'));
let props = defineProps({
  planId : {type : Number, default: 0}
})
const activePlanTab = ref('recordlist')
</script>

<style scoped>
</style>
